OCR Xpress for Linux - User Guide > How To > Debug Your Application |
Because debugging and writing debug information to a log file is time consuming and expensive, OCR Xpress for Linux streamlines debugging by only returning information relevant to a given error. This is done via the OCRX_Status structure which is returned by all OCR Xpress for Linux API functions.
OCR Xpress for Linux attempts to handle all exceptions and return an error code along with details relevant to the error.
Listed below is a reference of error codes returned by OCR Xpress for Linux.
Error Code |
BadImageFile |
BadOrNotSupportedImage |
CompressionIsNotSupported |
DependencyNotFound |
ExportToDibError |
FeatureNotLicensed |
FileOverwriteError |
FileReadError |
InvalidBitDepth |
InvalidBitmap |
InvalidParameter |
NotSupportedImageFormat |
OutOfMemory |